package com.bzkj.basicinfo.service.ncc;


import com.bzkj.basicinfo.domain.ncc.dto.NccBasicStoStockDto;
import com.bzkj.basicinfo.domain.ncc.NccBasicStoStock;
import com.bzkj.common.core.domain.AjaxResult;
import com.bzkj.common.core.domain.R;

import java.util.List;

public interface NccBasicStoStockService {
    /**
     * NCC仓库信息定时任务
     */
    void updateNccBasicStoStockJob(String all);

    /**
     * 根据pkStoDoc修改仓库状态
     *
     * @Author wangzhichao
     * @Date 2024/12/05 17:06:14
     * @Param state 状态
     * @Param pkStoDoc 主键
     */
    AjaxResult nccBasicStoStockEnableState(String state, String pkStoDoc);

    /**
     * 根据pK_STORDOC修改仓库信息
     *
     * @Author wangzhichao
     * @Date 2024/12/06 08:32:56
     * @Param entity
     */
    AjaxResult nccBasicStoStockUpdate(NccBasicStoStock entity);

    /**
     * 根据条件分页查询仓库信息
     *
     * @Author wangzhichao
     * @Date 2024/12/06 08:57:38
     * @Param dto 查询条件
     * @Param page 分页条件
     */
    List<NccBasicStoStock> findNccBasicStoStockData(NccBasicStoStockDto dto);

    /**
     * 保存仓库信息
     *
     * @Author wangzhichao
     * @Date 2024/12/06 09:30:54
     * @Param entity
     */
    AjaxResult nccBasicStoStockSave(NccBasicStoStock entity);

    R findNccBasicStoStockAll();

    List<String> findNccBasicStoStockName(String name);

    R jobMethodExecute(Boolean flag);
}
